Woocommerce\Pagarme\Controller\Gateways\CreditCard S

Total Complexity 42
Dependencies 6
Dependents 0
Total lines 745
Lines of code 552
Logical lines of code 121
Comment lines 91
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
generate_installments_by_flag_html()
A
31 4 166
field_cc_installment_fields()
S
44 1 52
append_form_fields()
S
51 2 26
getBrandsList()
S
54 2 21
getOldTitleName()
S
64 3 10
validate_installments_by_flag_field()
S
67 3 8
getDefaultInstallmentType()
S
66 3 9
validate_cc_soft_descriptor_field()
S
60 2 14
field_cc_soft_descriptor()
S
54 1 21
field_cc_installment_type()
S
56 1 18
field_cc_allow_save()
S
56 1 18
field_cc_flags()
S
57 1 17
section_installments()
S
59 1 17
renderInstallmentTextField()
S
58 1 15
antifraud_min_value()
S
58 1 15
field_cc_subscription_installments()
S
59 1 14
field_cc_allowed_for_subscription()
S
59 1 14
field_cc_tds_min_amount()
S
60 1 13
field_cc_tds_enabled()
S
61 1 12
field_cc_operation_type()
S
62 1 12
antifraud_enabled()
S
61 1 12
validate_cc_flags_field()
S
76 1 4
addRefundSupport()
S
80 1 3
section()
S
71 1 6
section_antifraud()
S
66 1 9
hasSubscriptionSupport()
S
82 1 3
field_enabled()
S
63 1 10
gateway_form_fields()
S
69 1 7
isSubscriptionActive()
S
79 1 3
convertCcInstallmentsInterest()
S
78 1 3